<?php

namespace app\common\widget;

use think\Db;

class Goods extends \think\Controller
{

    private $widgetPath;

    /**
     * 初始化
     */
    protected function _initialize()
    {
        parent::_initialize();
        $this->widgetPath = APP_PATH . 'common/widget/goods/';
    }

    /**
     * 选择框
     * @param $field
     * @param string $value
     * @param array $custom
     * @return mixed
     */
    public function brand($field, $value = '', $custom='')
    {
        return '我是品牌插件';
    }

    public function price($field, $value = '', $custom='')
    {
        return '我是价格插件';
    }

}